package com.anycl.design.creation.abstractfactory;

/**
 * 抽象工厂
 */
public class Main {

    public static void main(String[] args) {

        Factory factory = new TCLFactory();
        Television TCLTelevision = factory.newTelevision();
        TCLTelevision.doSomeThing();

        Refrigerator TCLRefrigerator = factory.newRefrigerator();
        TCLRefrigerator.doSomeThing();
    }
}
